package com.solweaver.greetings.utils;

import com.solweaver.greetings.dto.EmailMessage;

public class NotificationUtils {

	public static EmailMessage buildEmailMessage(String fromEmail, String toEmail, String subject, String message){
		EmailMessage emailMessage = new EmailMessage();
		
		emailMessage.setFromEmail(fromEmail);
		emailMessage.setToEmail(toEmail);
		emailMessage.setSubject(subject);
		emailMessage.setMessage(message);
		return emailMessage;
	}
}
